home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3303 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@informatik.tu-muenchen.de (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Demo/game to OS frien
  5. Date: 12 Feb 1996 17:03:38 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4fnrta$fqg@sunsystem5.informatik.tu-muenchen.de>
  9. References: <4ffpnf$8mq@sinsen.sn.no> <38232410@kone.fipnet.fi>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. Originator: fischerj@hphalle5.informatik.tu-muenchen.de
  12.  
  13.  
  14. In article <38232410@kone.fipnet.fi>,
  15. "Jyrki Saarinen" <jsaarinen@kone.fipnet.fi> writes:
  16. |> 
  17.  
  18. |> > But  would  it  be  possible  to  make  use  of copper effects and fast
  19. |> > parallax-scrolling like in eg.  Kid Chaos, without speed loss?
  20. |>
  21. |> Propably not. But who wants that kind of game these days?
  22.  
  23. This question is irrelevant! The topic is paralax and if there
  24. is a way of doing it with the OS.
  25.  
  26. |> 
  27. |> Remember, you can bang HW, just do LoadView(NULL) etc. and
  28. |> make sure you have AGA or whatever you are going to bang.
  29. |> Disabling interrupts is not needed.
  30.  
  31. Yep, overtaking the copper is not 100% clean, but seems to make
  32. to make no real trouble (exept the non-100% returning to wb-screen).
  33.  
  34. for example I know no clean way to redirect the copper to another list.
  35.  
  36. write copjmp1 and cop1strt sometimes crashes!
  37.  
  38. for example, the write to copjmp1, which is wordwise.
  39. cpu has writen 1 word, so the adress is invalid, and if now 
  40. a vblank occurs, bye copper!
  41.  
  42. having copperdma off while doing the reload did cause even
  43. quicker crash.
  44.  
  45. I'd like to see a most possible reliable return-copper code.
  46.  
  47. try:
  48. ----------------
  49. changetaskpri 127
  50.  
  51. waittof()
  52.  
  53. loadview(intbase->actiview)
  54.  
  55. move.l intuitionbase,a0
  56. move.l $26(A0),$dff080  !I hope $26 is true, look it up yourself.
  57. move.w #0,$dff088
  58. -----------------
  59.  
  60. forgive me the shellcommand-asm-c mix :)
  61.  
  62. |> 
  63. |> > Anyway, your method wouldn't be compatible with gfx-cards either.
  64. |> 
  65. |> Of course the presence of ECS/AGA is checked before using
  66. |> QBlit().
  67.  
  68. yes! some things done with copper (for example paralax) could
  69. be _rewritten_ for gfx-card.
  70.  
  71. |> 
  72. |> --                               _
  73. |> a Stellar programmer          _ //
  74. |> "Amiga - back for the future" \X/
  75. ------------------------------------------------------------------------
  76.    fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)   =:)
  77.  
  78.